<?php
include_once('CustomerClass.php');
$CustomerList = array();
for($i = 0; $i < 10; $i++)
{
	$CustomerObj = new Customer();
	$CustomerObj->id = $i;
	$CustomerObj->Name = 'CustomerName' . $i ;
	$CustomerObj->Surname = 'CustomerSurname' . $i;
	$CustomerObj->Address = "CustomerStreet" . $i;
	array_push($CustomerList,$CustomerObj);
}
print(json_encode($CustomerList));



?>